package CreationModel.SingletonModel;

/**
 * 饿汉式
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-11-24 14:57:00
 */
public class HungrySingleton {

    private HungrySingleton(){}

    private static HungrySingleton singleton = new HungrySingleton();

    public static HungrySingleton getSingleton(){
        return singleton;
    }
}
